#ifndef __screen_h
#define __screen_h

#define LineX 0xffffffcd
#define LineY 0xffffffba
#define Line1 0xffffffc9
#define Line2 0xffffffbb
#define Line3 0xffffffbc
#define Line4 0xffffffc8

#define abc_S "abcdefghijklmnopqrstuvwxyz"
#define ABC_S "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
#define NUM_S "0123456789"
#define TEXT_S "1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"


class screen
{
public:
	void static puttext(char *s,int x,int y,int c);
	void static puttext(int i,int x,int y,int c);
	void static box(int x1,int y1,int x2,int y2);
	void static cls();

	void static gotoxy(int x,int y);
	int static menu(char **Arr,int size,int starti,char *Header,int StartY);
	void static placemenu(char **Arr,int size,int ystart,int index,char *header,int offset);
	int static getmaxmenulength(char **A,int size);
	char  static *  readvalue(char *title,char *range,int masked,int maxsize,char *msg);

	void static Stars();

private:
	void static settextcolor(int color);


};

#endif